<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>摄氏度转化</title>
</head>
<body>

    <script>
        // 华氏温度
        var Fahrenheit = 80;
        // 摄氏度
        var c = (5/9*(Fahrenheit-32)).toFixed(3);

        console.log(c);
    </script>
</body>
</html>